Light energy is converted into chemical energy in foods by plants in photosynthesis, and is then passed on in food as chemical energy right up the food chain.